package com.dhcc.sds.custom.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.dhcc.core.framework.base.entity.BaseEntity;
import com.dhcc.sds.base.entity.SdsQcentityEntity;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;


/**
 * 病种入组病例
 * 
 * @ClassName: SdsCusMrlistEntity
 * @Description: TODO
 * @author yanghangwei
 * @date 2024-06-21 16:25
 */
@TableName("t_sds_cus_qcmrlist")
public class SdsCusMrlistEntity extends BaseEntity<SdsCusMrlistEntity> {
	private static final long serialVersionUID = 1L;
	
	//就诊ID
	private Long episodeId;
	//病种指针
	private Long entityId;
	//病种版本
	private Long entityVerId;	
	//入单人ID
	private Long inUserId;
	//入单科室ID
	private Long inLocId;
	//入单病区ID
	private Long inWardId;
	//入单日期
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date inDate;	
	//入单时间
	@DateTimeFormat(pattern = "HH:mm:ss")
	private Date inTime;
	//出单人ID
	private Long outDocId;

	private Date outDate;

	private Date outTime;

	//当前状态
	private String state;
	//关联路径记录
	private String relativeCpId;
	//入组状态
	private String groupStatus;
	//测试标识
	private Integer testFlg;
	// 入组时机
	private String intheMoment;

	public Long getEpisodeId() {
		return episodeId;
	}

	public void setEpisodeId(Long episodeId) {
		this.episodeId = episodeId;
	}

	public Long getEntityId() {
		return entityId;
	}

	public void setEntityId(Long entityId) {
		this.entityId = entityId;
	}

	public Long getEntityVerId() {
		return entityVerId;
	}

	public void setEntityVerId(Long entityVerId) {
		this.entityVerId = entityVerId;
	}

	public Long getInUserId() {
		return inUserId;
	}

	public void setInUserId(Long inUserId) {
		this.inUserId = inUserId;
	}

	public Long getInLocId() {
		return inLocId;
	}

	public void setInLocId(Long inLocId) {
		this.inLocId = inLocId;
	}

	public Long getInWardId() {
		return inWardId;
	}

	public void setInWardId(Long inWardId) {
		this.inWardId = inWardId;
	}

	public Date getInDate() {
		return inDate;
	}

	public void setInDate(Date inDate) {
		this.inDate = inDate;
	}

	public Date getInTime() {
		return inTime;
	}

	public void setInTime(Date inTime) {
		this.inTime = inTime;
	}

	public Long getOutDocId() {
		return outDocId;
	}

	public void setOutDocId(Long outDocId) {
		this.outDocId = outDocId;
	}

	public Date getOutDate() {
		return outDate;
	}

	public void setOutDate(Date outDate) {
		this.outDate = outDate;
	}

	public Date getOutTime() {
		return outTime;
	}

	public void setOutTime(Date outTime) {
		this.outTime = outTime;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getRelativeCpId() {
		return relativeCpId;
	}

	public void setRelativeCpId(String relativeCpId) {
		this.relativeCpId = relativeCpId;
	}

	public String getGroupStatus() {
		return groupStatus;
	}

	public void setGroupStatus(String groupStatus) {
		this.groupStatus = groupStatus;
	}

	public Integer getTestFlg() {
		return testFlg;
	}

	public void setTestFlg(Integer testFlg) {
		this.testFlg = testFlg;
	}

	public String getIntheMoment() {
		return intheMoment;
	}

	public void setIntheMoment(String intheMoment) {
		this.intheMoment = intheMoment;
	}
}
